* {
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.bold {
    font-weight: 800;
}

h1 {
    font-size: 32px;
    margin: -4px 0;
    text-align: center;
    letter-spacing: 0.15px;
}

.label {
    width: 270px;
    margin: 20px auto;
    border: 2px solid black;
    padding: 0 7px;
}

.divider {
    /* 下划线 */
    border-bottom: 1px solid #888989;
    margin: 2px 0;
}

p {
    margin: 0;
    display: flex;
    justify-content: space-between;
}

.large {
    background-color: #000;
    height: 10px;
}

.medium {
    background-color: #000;
    height: 5px;
}

.head {
    display: flex;
    justify-content: space-between;
    /* 排列在交叉轴末端 */
    align-items: end;
}

.calories h2 {
    margin: 0;
    font-size: 0.85rem;
}

.head-left p {
    font-size: 2em;
    font-weight: 700;
    /* 盒子会向上下扩充5px 左右2px */
    margin: -5px -2px;
}

/* 行内元素如span可以设置margin */
.head span {
    font-size: 2.4em;
    font-weight: 700;
    margin: -7px -2px;
}

.small-text {
    font-size: 0.85em;
}

.right {
    justify-content: flex-end;
}

.indent {
    margin-left: 1em;
}

.double-indent {
    margin-left: 2em;
}

.foot {
    margin: 5px 0;
    padding: 0 8px;
    font-size: 0.6rem;
    /* 设置文本缩进 使文字两端对齐 */
    text-indent: -8px;
}

/* 写在最后 样式优先级高 */
.daily-value p:not(.no-divider) {
    /* 下边框 */
    border-bottom: 1px solid #888989;
    margin: 2px 0;
}